public class Outer {
    private int age = 99;
    public static String schoolName = "Java School";
    // 静态内部类
    public static class Inner{
        private String name;
        private final int age = 88;
        
        public void show(){
            System.out.println("name = " + name);
            System.out.println("age = " + age);
            System.out.println("schoolName = " + schoolName);
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

}